From eb4e196d7edb35681a48e0b31c961200acd09ab5 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 11 Apr 2005 20:30:57 +0000 Subject: [PATCH] Use GPSBabel's abstraction for word size since the one from jeeps is dumb. --- jeeps/gpsport.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/jeeps/gpsport.h b/jeeps/gpsport.h index 040efd2e7..c640c42a7 100644 --- a/jeeps/gpsport.h +++ b/jeeps/gpsport.h @@ -2,15 +2,14 @@ * For portability any '32' type must be 32 bits * and '16' type must be 16 bits */ -typedef unsigned char UC; -typedef short int16; -typedef unsigned short uint16; -typedef uint16 US; -#if defined(__alpha) -typedef int int32; -typedef unsigned int uint32; -#else -typedef long int32; -typedef unsigned long uint32; -#endif +/* Since GPSBabel already has an integer size abstraction layer and + * defs.h includes gbtypes.h before this file, just use that. + */ + +typedef unsigned char UC; +typedef uint16 US; +typedef gbuint16 uint16; +typedef gbint16 int16; +typedef gbuint32 uint32; +typedef gbint32 int32; -- 2.30.2